<template>
  <div class="budget">
    <van-swipe
      class="my-swipe"
      :autoplay="3000"
      indicator-color="white"
    >
      <van-swipe-item><img src="http://img.sirfang.com/banner/2016/07/16/b89d25db22f5ebcaffd658f09da65be3.jpg" /></van-swipe-item>
      <van-swipe-item><img src="http://img.sirfang.com/banner/2016/07/16/b89d25db22f5ebcaffd658f09da65be3.jpg" /></van-swipe-item>
    </van-swipe>
    <div class="dv1">
      <span>房先森 / 装修攻略 / 装修预算 / 正文</span>
      <p>装修预算注意事项</p>
      <div class="dv2">
        <i class="iconfont icon-time"></i> 2016-07-09
        <i class="iconfont icon-view"></i> 115
      </div>
    </div>
    <div class="dv3">
      <span class="aaa">客厅装修隔断</span>
      <span class="aaa">客厅装修图</span>
      <span class="aaa">客厅装修效果</span>
      <span class="aaa">客厅装修隔断</span>
      <span class="aaa">客厅装修图</span>
      <span class="aaa">客厅装修效果</span>
      <p>
        &emsp;&emsp;导语:在装修是如果没有提前最好装修预算,很容易造成最后开支过大,
        添置很多没必要的增项.那么在做预算的时候又有什么需要注意的地方呢?
      </p>
      <img
        src="http://img.sirfang.com/news/2020/10/19/b54d1c273c0c4b56a01a622274ed437d.jpg"
        alt=""
      />
      <div class="dv4">点击展开全文</div>
      <div class="dv5">
        <span class="sp1">
          <i class="iconfont icon-pencle"></i>
          <span class="span1">评论(10)</span>
        </span>
        <span class="sp2" @click="show=true">
          <i class="iconfont icon-share"></i>
          <span class="span2" >分享</span>
        </span>
      </div>
      <div class="dv4">进入装修预算</div>
    </div>
    <div class="dv6">
      <div class="head">
        <span class="a"></span>
        <span class="b">猜您喜欢</span>
      </div>
      <ul>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2016/005/2710282016125922.jpg"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">
              乐动全城｜2016马可波罗瓷砖球迷嘉年华
            </p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>932</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/08/17/4d5f11c8267722f596edacf8b8d77c06.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">
              【房先森装修学院】家装如何鉴别瓷砖的好坏 房先森教你鉴别方法
            </p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>839</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/news/2020/10/19/d379d99b51993c25d25bee0ae7422f0d.jpg"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">
              【房先森装修学院】毛坯房如何不装修也漂亮？毛坯房装修如何验收？
            </p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>778</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/news/2020/10/19/b54d1c273c0c4b56a01a622274ed437d.jpg"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">
              【【房先森装修学院】地砖已铺好但没留缝如何补救 地砖铺贴技巧有哪些
            </p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>726</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/10/19/0db1a8a81e1915c4674f74f22dcdae6b.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">
              【房先森装修学院】室内用人造大理石有辐射吗？有哪些危害？具体分析介绍
            </p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>809</span>
            </p>
          </div>
        </li>
      </ul>
    </div>
    <div class="dv7" v-show="show">
      <div class="imgss"><img
          src="../../public/切图/11.png"
          alt=""
        >
        <img
          src="../../public/切图/22.png"
          alt=""
        >
        <img
          src="../../public/切图/33.png"
          alt=""
        ></div>
        <div class="no" @click="show=false">
          取消
        </div>
    </div>
  </div>
</template>

<script>
// import axios from 'axios'
export default {
  data() {
    return {
      show:false
    };
  },
  mounted() {},
  methods: {},
  components: {}
};
</script>

<style lang='scss' scoped>
// * {
//   margin: 0;
//   padding: 0;
// }
.budget{
  position: relative;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
  height: 150px;
  img {
    width: 100%;
    height: 150px;
  }
}
.dv1 {
  width: 90%;
  border: none;
  margin: 10px 10px;
  height: 120px;
  span {
    width: 100%;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    padding-left: 10px;
    background-color: #f3f3f3;
  }
  p {
    text-align: center;
    font-size: 20px;
    margin: 10px 0;
  }
  .dv2 {
    height: 40px;
    line-height: 20px;
    border-bottom: 1px solid #eee;
    color: #999999;
    text-align: center;
    .icon-view {
      margin-left: 30px;
      font-size: 20px;
    }
  }
}
.dv3 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  .aaa {
    flex-basis: 21%;
    height: 30px;
    line-height: 30px;
    //   background-color: #ccc;
    border-radius: 25px;
    border: 1px solid #eeeeee;
    text-align: center;
    font-size: 10px;
    margin: 5px 5px;
    color: #bababa;
  }
  p {
    font-size: 13px;
    margin: 5px 5px;
    color: #a6a6a6;
  }
  img {
    width: 80%;
    margin: 10px auto;
  }
  .dv4 {
    width: 95%;
    height: 30px;
    line-height: 30px;
    margin: 10px auto;
    border: 1px solid #95dfc1;
    color: #95dfc1;
    text-align: center;
    border-radius: 4px;
  }
  .dv5 {
    width: 100%;
    display: flex;
    height: 100%;
    justify-content: space-around;
    text-align: center;
    .sp1 {
      flex-basis: 50%;
      height: 100%;
      .icon-pencle {
        width: 33%;
        display: inline-block;
        height: 60px;
        line-height: 60px;
        border-radius: 50%;
        border: 2px solid #269ff6;
        font-size: 30px;
        color: #269ff6;
      }
      .span1 {
        display: block;
        color: #269ff6;
        margin: 8px 0;
      }
    }
    .sp2 {
      flex-basis: 50%;
      height: 60px;
      .icon-share {
        width: 33%;
        display: inline-block;
        height: 60px;
        line-height: 60px;
        border-radius: 50%;
        font-size: 30px;
        border: 2px solid #feb605;
        color: #feb605;
      }
      .span2 {
        display: block;
        color: #feb605;
        margin: 8px 0;
      }
    }
  }
}
.dv6 {
  width: 100%;
  height: 100%;
  .head {
    width: 100%;
    height: 50px;
    line-height: 60px;
    display: flex;
    .a {
      width: 5px;
      height: 30px;
      margin: 15px 10px;
      background-color: #39c894;
    }
    .b {
      width: 150px;
      height: 50px;
      line-height: 60px;
      font-size: 20px;
      color: #000;
    }
  }
  .li-one {
    width: 95%;
    height: 80px;
    display: flex;
    margin: 10px auto;
    border-bottom: 1px solid #eee;
    .one-img {
      width: 30%;
      height: 69px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .one-box {
      margin: 0;
      position: relative;
      padding: 0;
      .p2 {
        margin-top: 45px;
        margin-left: 10px;
        font-size: 15px;
        color: #ccc;
      }
      .p1 {
        line-height: 30px;
        width: 240px;
        margin: 0;
        padding: 0;
        font-size: 16px;
        position: absolute;
        padding-left: 10px;
        // top: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 100%;
        // margin-bottom: 10px;
      }
    }
  }
}
.dv7 {
  position: absolute;
  top: 50%; 
  left: 20px;
  width: 90%;
  margin: 0 auto;
  // height: 10px;
  padding: 20px;
  
  background-color:rgba(0,0,0,.8);
  .imgss{
    display: flex;
    justify-content: space-around;
  }
  .no{
    width: 90%;
    padding: 10px 20px;
    text-align: center;
    margin: 0 auto;
    margin-top: 30px;
    font-size: 16px;
    background-color: #fff;
  }
}
</style>
